import { http } from '@/utils/http'

export function useProjectBidApi() {
  return {
    getBiddingStage(id: string) {
      return http.get<ProjectBidForm>('/prod-api/admin-api/project/bidding-stage/get?id=' + id)
    },
    getBiddingStageByProjNum(projectNumber: string) {
      return http.get<ProjectBidForm>(`/prod-api/admin-api/project/bidding-stage/getByProjectNumber?projectNumber=${projectNumber}`)
    }
  }
}
